- 0
Buna. Ajutatima!
-
Similar Content
-
- 28 replies
- 7.000 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
•[ReA]xZummyTha™
Buna sunt noua pe acest forum. Deci am nevoie de ajutor! Am bagat o comanda:
[pawn] if(strcmp(cmdtext, "/carcolor", true) == 0)
{
new color1, color2;
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, GREEN, "Type /carcolor for car color change!");
color1 = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, GREEN, "Type /carcolor for car color change!");
color2 = strval(tmp);
ChangeVehicleColor(GetPlayerVehicleID(playerid), color1, color2);
return 1;
}[/pawn]
Problema ar fi urmatoarea:
[pawn]C:\Documents and Settings\xxx\Desktop\Servers Sa-MP\gamemodes\RDS.pwn(1240) : error 017: undefined symbol "strtok"
C:\Documents and Settings\xxx\Desktop\Servers Sa-MP\gamemodes\RDS.pwn(1240) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\xxx\Desktop\Servers Sa-MP\gamemodes\RDS.pwn(1243) : error 017: undefined symbol "strtok"
C:\Documents and Settings\xxx\Desktop\Servers Sa-MP\gamemodes\RDS.pwn(1243) : error 033: array must be indexed (variable "tmp")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.[/pawn]
Ma puteti ajuta sa rezolv problemele astea? Multumesc!
M-am reapucat de Sa-MP & Script-ing!
4 answers to this question
Recommended Posts