21.06.2011, 11:01
Well, I'm working on making a script to where when you do /rcar, it brings your specific car ID to you. I was thinking you could do the script below. (Just a start) But I'm not sure how to make it to where it brings only a certain car ID for a certain name. Could someone help me? It'd be greatly appreciated! (And yes, I am new-ish to scripting)
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
{
if (strcmp("/rcar", cmdtext, true, 10) == 0)
{
if(strcmp(PlayerName,"Tyler[DGZ]",true)) {
}
return 1;