31.03.2012, 16:33
(
Последний раз редактировалось Deminitous; 31.03.2012 в 16:39.
Причина: Made a correction
)
Hi there.
Could any1 please help me with this...
I want to make a car reservation on the server but PAWNO so totally against it. LoL
The PAWN text:
And this is the Errors i get:
I already looked at 2 topics created
This is where i got it
This is another topic i read about Vehicle Reservation
Hope some1 can see whats wrong here... :/
Could any1 please help me with this...
I want to make a car reservation on the server but PAWNO so totally against it. LoL
The PAWN text:
pawn Код:
9868 public OnPlayerStateChange(playerid, newstate, oldstate)
9869 {
9870 if(newstate == PLAYER_STATE_DRIVER)
9871 {
9872 new name[MAX_PLAYER_NAME];
9873 GetPlayerName(playerid, name, sizeof(name));
9874 if(GetPlayerVehicleID(playerid) == Dual1 && strfind(name(playerid), "[Sfcnr]Dual", true), == -1);
9875 {
9876 new Float:X,Float:Y,Float:Z;
9877 SendClientMessage(playerid, COLOR_RED, "This car belongs to: [Sfcnr]Dual!!");
9878 SetPlayerPos(playerid, X,Y,Z+5);
9879 }
9880 }
And this is the Errors i get:
Quote:
C:\Documents and Settings\...\sfcnr2.0.pwn(9874) : error 012: invalid function call, not a valid address C:\Documents and Settings\...\sfcnr2.0.pwn(9874) : warning 215: expression has no effect C:\Documents and Settings\...\sfcnr2.0.pwn(9874) : error 001: expected token: ";", but found ")" C:\Documents and Settings\...\sfcnr2.0.pwn(9874) : error 029: invalid expression, assumed zero C:\Documents and Settings\...\sfcnr2.0.pwn(9874) : fatal error 107: too many error messages on one line |
This is where i got it
This is another topic i read about Vehicle Reservation
Hope some1 can see whats wrong here... :/