Please help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please help (
/showthread.php?tid=271139)
Please help -
MA_proking - 23.07.2011
pawn Код:
if (strcmp("/ltune", cmdtext, true, 10) == 0)
{
if(!IsPlayerVipType(playerid,1)) return SendClientMessage(playerid, RED, "<!> You are not a VIP player");
{
ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 2);
AddVehicleComponent(vehicleid, 1010); // Nitro
SendClientMessage(playerid,0xFFFFFFFF,"Your car is tune !! $4000 has been deducted by ~Admin Jay~");
GivePlayerMoney(playerid, -4000)
return 1;
}
When I put this code it shows
Код:
C:\Documents and Settings\Prabhat\Desktop\World Stunting V1.3.5\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(728) : error 017: undefined symbol "vehicleid"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(731) : error 001: expected token: ";", but found "return"
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(733) : warning 225: unreachable code
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1201) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1214) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1227) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1240) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1252) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1265) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1306) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1320) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1334) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1347) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1360) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1373) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1386) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1400) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1414) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1428) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1442) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1457) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1471) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1485) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1498) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1511) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1524) : error 004: function "DynUpdateStart" is not implemented
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1537) : error 004: function "DynUpdateStart" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Re: Please help -
Kitten - 23.07.2011
Re download the streamer
and what is DynUpdateStart
Re: Please help -
HyperZ - 23.07.2011
pawn Код:
if (strcmp("/ltune", cmdtext, true, 10) == 0)
{
if(!IsPlayerVipType(playerid,1)) return SendClientMessage(playerid, RED, "<!> You are not a VIP player");
ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 2);
AddVehicleComponent(vehicleid, 1010); // Nitro
SendClientMessage(playerid,0xFFFFFFFF,"Your car is tune !! $4000 has been deducted by ~Admin Jay~");
GivePlayerMoney(playerid, -4000)
return 1;
}
Re: Please help -
MA_proking - 23.07.2011
AddVehicleComponent(vehicleid, 1010); // Nitro
It is used for static vehicle can you tell me how to add nitro
other than this