Page 1 of 1

Es te atkal ar PintJob.

Posted: 13 Apr 2010, 23:08
by SiiPols
man uzmet šādu error

Code: Select all

C:\Documents and Settings\Dators\Desktop\Stunt server\filterscripts\stunts.pwn(284) : error 017: undefined symbol "vehicleid"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
Kommanda :

Code: Select all

if(strcmp(cmdtext, "/paintjob", true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
ChangeVehiclePaintjob(vehicleid, 1)
SendClientMessage(playerid,COLOR_GREEN,"Your car was tuned with rims and 10x NOS!");
} else {
SendClientMessage(playerid,COLOR_GREY,"You have to be in a car to use this command.!");
}
return 1;
}

Re: Es te atkal ar PintJob.

Posted: 13 Apr 2010, 23:28
by blossom[eQ]
turpat komandā

Code: Select all

new vehicleid = GetPlayerVehicleId(playerid);

Re: Es te atkal ar PintJob.

Posted: 16 Apr 2010, 22:50
by Disaster
kad ielieku šo- new vehicleid = GetPlayerVehicleId(playerid);
pawn compilers izmet eroru un izslēdzas..

Re: Es te atkal ar PintJob.

Posted: 16 Apr 2010, 23:10
by blossom[eQ]
Iespējams vecais compiller..
dabū jauno.. un ja vienalga, tad mēģini pa atsevišķo..

Code: Select all

new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);

Re: Es te atkal ar PintJob.

Posted: 16 Apr 2010, 23:38
by Disaster
C:\Documents and Settings\hawkz\Desktop\`serveris`\gamemodes\sftdm.pwn(74) : error 010: invalid function or declaration

74- vehicleid = GetPlayerVehicleID(playerid);

Re: Es te atkal ar PintJob.

Posted: 17 Apr 2010, 02:12
by SiiPols
Var LOCK!