Raised This Month: $ Target: $400
 0% 

Problems compiling


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 03-12-2006 , 17:58   Problems compiling
Reply With Quote #1

Code:
public makecar(id) {    new item[32], orig1[6], orig2[6], orig3[6], angles1[6], Float:origin[3], steamid    read_argv(1, item, 31)    read_argv(2, orig1, 5)    read_argv(3, orig2, 5)    read_argv(4, orig3, 5)    read_argv(5, angles1, 5)    read_argv(6, steamid, 32)    origin[0] = float(str_to_num(orig1))    origin[1] = float(str_to_num(orig2))    origin[2] = float(str_to_num(orig3))    new Float:angles2 = float(str_to_num(angles1))    steamid = get_user_authid(id,authid,32)    new car = create_entity("info_target")    if(!car) {       client_print(id,print_chat,"CAR WAS not created. Error.^n")       return PLUGIN_HANDLED    }

That part makes these 2 errors

Code:
Error: Argument type mismatch (argument 2) on line 61
Error: Undefined symbol "authid" on line 68
and this

Code:
public setcar(entid,id) {    if(allow[id] != 0) return PLUGIN_HANDLED    if(incar[id] != 0) return PLUGIN_HANDLED    if(equal(steamid,authid) && incar[id] == 0) {}    else return PLUGIN_HANDLED

make this error

Code:
Error: Undefined symbol "steamid" on line 228
wonsae is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode